package com.moyuwanjia.Vo;

import com.moyuwanjia.domain.Account;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author 摸鱼丸加~
 * @create 2022-04-14 22:52
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AccountAndUserVo extends Account {
    private Integer id;
    private String username;
    private Date birthday;
    private String sex;
    private String address;

    @Override
    public String toString() {
        return super.toString() + "\nAccountAndUserVo{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", birthday=" + birthday +
                ", sex='" + sex + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
